//
//  HistoryCell.m
//  A段项目音乐播放
//
//  Created by dllo on 15/5/30.
//  Copyright (c) 2015年 lanou3g.com蓝鸥科技. All rights reserved.
//

#import "HistoryCell.h"

@implementation HistoryCell

- (void)dealloc
{
    [_image0 release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self create];
    }
    return self;
}

- (void)create
{
    UIImage *image = [UIImage imageNamed:@"历史记录.png"];
    self.image0 = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 30, 30)];
    [_image0 setImage:image];
    [self addSubview:_image0];
    
    self.label = [[UILabel alloc]initWithFrame:CGRectMake(50, 10, 100, 30)];
    [self addSubview:_label];
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
